< Prev(J) / Next(K) > / View :

Filename: /text/scalc/01/func_days.xhp

(bookmark: bm_id3151328)
DAYS function

DAYS 関数
(bookmark: bm_id3148893)

(variable: days)DAYS
(variable: days)DAYS(hd_id3151328.116)

Calculates the difference between two date values. The result returns the number of days between the two days.
2 つの日付値の差を算出します。結果には、2 つの日付の間の日数が返されます。(par_id3155139.117)

Syntax
構文(hd_id3155184.118)

DAYS(Date2; Date1)
DAYS(日付 2; 日付 1)(par_id3149578.119)

Date1 is the start date, Date2 is the end date. If Date2 is an earlier date than Date1 the result is a negative number.
日付 1 は開始日で、日付 2 は終了日です。日付 2日付 1 より前の場合、結果は負の数になります。(par_id3151376.120)

Examples
(hd_id3151001.121)

=DAYS("2010-01-01"; NOW()) returns the number of days from today until January 1, 2010.
=DAYS("2010-01-01"; NOW()) は、今日から 2010 年 1 月 1 日までの日数を返します。(par_id3159101.123)

=DAYS("1990-10-10";"1980-10-10") returns 3652 days.
=DAYS("1990-10-10";"1980-10-10") は、3652 日を返します。(par_id3163720.172)


< Prev / Next >